home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Super Shareware Collection
/
Super Shareware Collection.iso
/
os_2
/
epmgcc10.zip
/
GCCENV.SMP
< prev
next >
Wrap
Text File
|
1994-01-22
|
3KB
|
56 lines
/*
╔══════════════════════════════════════════════════════════════════════════════╗
║ What's it called: EPMGCC V1.00 ║
║ ║
║ What does it do: The E source code for the GCC-Interface for EPM. ║
║ This file contains default constants for external commands ║
║ and command parameters. It is included in GCC.E and ║
║ GCCPROC.E. ║
║ ║
║ Who and When: B. Bablok 12/93 - 01/94 ║
║ ║
╚══════════════════════════════════════════════════════════════════════════════╝
*/
CONST
/*
┌──────────────────────────────────────────────────────────────────────────────┐
│ Constants which cannot be changed at runtime (external commands, menu │
│ support). See the OS2-reference for the meaning of /c, /n and /win. │
└──────────────────────────────────────────────────────────────────────────────┘
*/
GCC_EDIT_COMMAND = 'start /c /win epro' -- change to 'EDIT' if you don't
-- want to use epro.cmd
GCC_COMP_COMMAND = 'start /n /win gcc' -- change gcc, make and gdb to
GCC_BUILD_COMMAND = 'start /n /win make' -- whatever programs you use (or
GCC_DEBUG_COMMAND = 'start /n /win gdb' -- just add path names)
GCC_MENU_ALWAYS_ON = 0 -- change to 1
/*
┌──────────────────────────────────────────────────────────────────────────────┐
│ Templates for compile/build options. Templates with '_D_' in the name are │
│ used if debug-mode is turned on, otherwise the '_P_' templates are used. │
│ Replacement rules (file is either the current file or the makefile): │
│ %* fully qualified filename │
│ %**D drive letter and colon │
│ %**P path, including drive and trailing '\' │
│ %**F filename, including extension │
│ %**N filename without extension │
│ %**E extension │
│ These templates can be changed at runtime. │
└──────────────────────────────────────────────────────────────────────────────┘
*/
GCC_D_COMPILE_OPTIONS = '-c -g %*'
GCC_P_COMPILE_OPTIONS = '-O2 -o %**P%**N.exe %*'
GCC_D_BUILD_OPTIONS = '-k -f %* MODE=D'
GCC_P_BUILD_OPTIONS = '-k -f %* MODE=P'
/*
┌──────────────────────────────────────────────────────────────────────────────┐
│ Constants which define the startup values of autosave, debug and verbose- │
│ mode. These toggles can be changed at runtime. │
└──────────────────────────────────────────────────────────────────────────────┘
*/
GCC_AUTOSAVE_FILE = 1 -- save file / all files before compile or build
GCC_DEBUG_MODE = 1 -- use debug-templates for compile / build
GCC_VERBOSE_MODE = 0 -- show commands in the message area